home *** CD-ROM | disk | FTP | other *** search
- Station Log Formatter ([S]tation [L]og [F]ormatter) 1.0
- --------------------------------------------------------
- by Silvano Funghi (IW0BRH)
-
-
- PURPOSE of SLF
- --------------
- This program is intended for automatic formatting of the LOG generated by
- the program AmiPac 1.30 (by me and Aldo Kanneworff) and LATER versions.
-
- This program needs this format as input:
-
- CONNECTED to XXXKK-Z [29-08-89 16:27:28]
- DISCONNECTED [29-08-89 16:28:01]
-
- This is obtained by the TNC KANTRONICS KPC-II.
- Other TNC's, CAN generate DIFFERENT outputs when the DAYSTAMP (or equivalent)
- is on. Sorry, too many TNC for only one programmer!
- Why doesn't Packet-Radio TNC's have compatibilty like HAYES modems?
- I've got a KPC-II, some my friends AEA PK88 (OZ4ACF, Peter, my first tester
- for NORDIC problems, have it) and other KAM.
- I have just heard from one with AEA PK232 (my friend I0GO, Giuseppe). I am
- waiting for RIGHT parameters to give PK232 for 100% compatibility with KANT's.
-
- For example, AEA PK88 generate:
-
- 12:08:45 *** CONNECTED TO XXXKKK-ZZ
-
- IF i have time to spend on this, i ALSO will write a program for PK88's out-
- put. Or I will add the capability to "SLF 1.0" to understand other than
- KPC-II's LOG (SLF 2.0?).
-
- SLF's brain.
- ------------
- Well, what's to be done when we MANIPULATE the output AmiPac.log by hand?
- In first, I kill the lines DUPLICATED:
-
- CONNECTED to I0WDX-2 [03-09-89 08:36:34]
- DISCONNECTED [03-09-89 08:41:44]
- DISCONNECTED [03-09-89 08:43:08]<-----no reason to keep this line.
-
- In this piece of my LOG, the SECOND line DISCONNECTED came from TOO MANY
- RETRIES.
- So, KPC-II's firmware generate a line:
-
- *** DISCONNECTED [xx-xx-xx xx:xx:xx]
-
- ALSO if the connection isn't REAL.
- For example, if you voluntarily STOP the retries (twice "d").
-
- Secondly, it is possible to find a line like:
-
- CONNECTED to I0WDX-2 [03-09-89 08:43:16]_
- CONNECTED to I0FMD-2 [03-09-89 08:48:04] \
- \
- \
- what happen in this point?
-
- Bah, just a BLACK-OUT, or was I so anxious to try out the latest Amiga GAME,
- that I'd RESET my machine without disconnecting first? In any cases, if SLF
- finds two lines with two or more CONNECTED in succession, only one thing
- is possible; to write this:
-
- I0AZI-8 [28-08-89 18:12:22] [28-08-89 18:13:41]
- I0WDX-2 [29-08-89 15:52:46] /---[??-??-?? ??:??:??]
- I0AZI-8 [29-08-89 16:27:28] / [29-08-89 16:28:01]
- /
- just for simmetry!
-
- (ONLY FOR GURU)
- (-------------)
-
- Really, it was possible to estimate the date and time of DISCONNECTion, in
- THIS CASE, between 15:52:47 and 16:27:27 of 28-08-89!!! But is is right to
- ESTIMATE a time and write this in LOG? I hope not. If NEXT connection was 3
- days later, then what(!!!). Too many possibilities for me. Thats why I only
- write ["??"].
-
- Another thing to do, is to SKIP the possible (I think very few) cases of
- false updates of the log. Just for TEST purposes I have written some other
- pseudo log-updates. But, if your friend have a "welcome string" like this:
-
-
- *** CONGRATULATION! you are Connected with XXXZZZ
- \
- \
- \_____ The "*** CO" string in CAPITAL letters and the
- / START of LINE, is recognized as a real CONNECT!!
- /
- /
- !!!*** COMMANDS by YOU are Welcomed!!! Bill's BBS is for YOU!!
-
-
- AmiPac will RECORD this!!! In this cases, SLF will SKIP this for you. If, for
- any unpredictable reason, the automatic formatting isn't possible, SLF will
- exit, and you are advised to MANUALLY remove line #xxx.
-
- The REGULAR format of the LOG is:
-
-
- CONNECTED: dd-mm-yy hh:mm:ss END: dd-mm-yy hh:mm:ss NOTES ABOUT LOG
-
- I0AZI-8 [28-08-89 18:12:22] [28-08-89 18:13:41] _ _ _ _ _ _ _ _ _ _
- IK0MVV-15 [29-08-89 15:52:46] [29-08-89 15:55:04] _ _ _ _ _ _ _ _ _ _
- I0AZI-8 [29-08-89 16:27:28] [29-08-89 16:28:01] _ _ _ _ _ _ _ _ _ _
-
-
-
- I hope this format is good, for many purposes; LEGAL and PERSONAL.
- The OUTPUT (formatted) log is APPENDED, so NO data WILL be lost. Before clo-
- sing, SLF will ask you if you want to delete DELETE the old, UNFORMATTED log.
- If no INPUT was found, SLF exit and tell you as well. SLF handels input and
- output files from DEVICE "AmiPac:". Read the docs about AmiPac about this. If
- you use SLF from without your usual Packet Radio session, it is sufficient
- from CLI to:
-
- Assign AmiPac: df0: (or the device in wich you have AmiPac files)
-
-
- SLF1.1 & SLFvid are both inserted in AmiPac 1.3x distibution disk,
- from 8 november 1989.
-
- input file name: AmiPac:AmiPac.log
- output file name: AmiPac:SLF.log
-
- Comments, bugs and suggestions are welcomed.
- My address is:
-
- Silvano Funghi IW0BRH
- via Cola di Rienzo, 3
- 00047 MARINO LAZIALE
- (Rm) ITALY
- phone 06 9386 320
-
-
-
-
-